/**
 * 
 */
package com.bootdo.lgs.order.service;

import com.bootdo.lgs.order.model.LgsOrder;
import com.bootdo.lgs.order.model.LgsOrderQuery;
import com.bootdo.lgs.order.model.OrderExcel;
import com.bootdo.system.domain.UserDO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author 1992lcg@163.com
 * @Time 2017年9月6日
 * @description
 * 
 */
@Service
public interface OrderService {

       List getList(LgsOrderQuery condition);

       boolean add(LgsOrder condition,UserDO loginUser);

       boolean insertBatchByExcel(OrderExcel condition,UserDO loginUser)throws Exception;

       LgsOrder getDataById(Long id);

       List<LgsOrder> batchQuery(Long[] ids);

       boolean update(LgsOrder condition,UserDO loginUser);

       boolean addComment(LgsOrder condition);

       boolean delete(Long id);

       boolean batchUpdate(List<LgsOrder> list, UserDO user);

       void export(LgsOrderQuery condition,HttpServletResponse response);

       List getComboxByGrpCd();

       boolean updateAfterDeliver(LgsOrder condition, UserDO loginUser);
}
